package com.foxire.object;

public class Test {
    public static void main(String[] args) {
        // 目标：学会创建对象
        // 创建对象的格式:类名 对象名 = new 类名();
        Star s1 = new Star();
        s1.name = "张学友";
        s1.age = 18;
        s1.gender = "男";
        s1.height = 1.8;
        s1.weight = 80.5;

        Star s2 = new Star();
        s2.name = "刘德华";
        s2.age = 20;
        s2.gender = "男";
        s2.height = 1.7;
        s2.weight = 70.5;

    }
}
